<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        * {
            margin: 0;
            padding: 0;
            text-decoration: none;
        }

        .as {
            display: block;
            width: 300px;
            height: 400px;
            color: #000;
            background-color: rgba(235, 234, 234, 0.666);
            margin: 100px auto;
        }

        .as img:nth-of-type(1) {
            width: 100%;
            margin: 1px 0 0 0;

           
        }

        .as h3 {
            font-weight: 400;
            margin: 10px 0;
            text-align: center;
        }

        .as p:nth-last-of-type(n) {
            color: rgba(0, 0, 0, 0.544);
            font-size: 16px;
            text-indent: 2em;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
            margin: 6px 0;
        }

        .as .div {
            position: relative;
            width: calc(100% - 100px);
            height: 10px;
            font-size: 10px;
            line-height: 10px;
            margin: 20px 50px 0px 50px;
            border: 1px solid black;
            border-radius: 5px 5px 5px 5px;
        }

        .as .div span {
            position: absolute;
            right: 0;
            top: 0;
        }

        .as .div::before {
            content: '';
            display: block;
            width: 10%;
            height: 100%;
            background-color: rgba(228, 207, 53, 0.589);
            border-radius: 5px 5px 5px 5px;
            transition: width 1s ease;
        }
 
        .as .div:hover::before {
            width: 100%;
        }

        .as div:nth-of-type(2) {
            width: 200px;
            height: 50px;
            text-align: center;
            line-height: 50px;
            margin: 10px 50px;
            background-color: rgba(10, 10, 10, 0.218);

        }

        .as div:nth-of-type(2):hover {
            background-color: rgba(203, 206, 30, 0.578);
        }

        .as:hover {
            box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.334);
            border: 1px solid rgba(203, 206, 30, 0.578);
        }
    </style>
</head>

<body>
    <a href="" class="as">
        <img src="/pink/imgs/zyz_txt/婉儿.png" alt="">
        <h3>台词介绍</h3>
        <p>哎，这歪歪扭扭的字体，就像你歪歪扭扭的人生一样糟糕。</p>
        <p>笔落兴亡定三端之妙，墨写清白尽六艺之奥</p>
        <p>言为心声，字为心画</p>
        <div class="div"><span>100%</span> </div>
        <div class="">查看详情</div>
    </a>
</body>

</html>